package com.wiscamp.ninechapters.problems.application.dto.vo.exams;

import com.wiscamp.ninechapters.ddd.ViewObject;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Collection;

@Data
public class ExamVO implements ViewObject {
    /**
     * 考试编号
     */
    private long examId = 0;

    /**
     * 机构编号
     */
    private long organizationId = 0;

    /**
     * 学科编号
     */
    private long subjectId = 0;

    /**
     * 考试代码
     */
    private String examCode = "";

    /**
     * 考试名称
     */
    private String examName = "";

    /**
     * 语言代码
     */
    private String languageCode = "";

    /**
     * 总分
     */
    private int totalScore = 0;

    /**
     * 总时间限制
     */
    private int totalTimeLimit = 0;

    /**
     * 总题目数
     */
    private int totalProblemQuantity = 0;

    /**
     * 备注
     */
    private String remark = "";

    /**
     * 是否可用
     */
    private boolean enabled = true;

    /**
     * 创建用户
     */
    private long creatorId = 0;

    /**
     * 创建时间
     */
    private LocalDateTime creationTime;

    /**
     * 编辑用户
     */
    private long modifierId = 0;

    /**
     * 编辑时间
     */
    private LocalDateTime modificationTime;

    private String organizationName = "";

    private String subjectName = "";

    private String creatorName = "";

    private String modifierName = "";

    private Collection<ExamTypeRelationVO> examTypeRelations = new ArrayList<>();

    private Collection<ScoringRuleVO> scoringRules = new ArrayList<>();
}
